package pl.register.android.course.dialog;

import android.app.AlertDialog;
import android.content.Context;
import pl.register.android.R;

/**
 * @author Mateusz Strzelecki
 * @since 2013-04-12
 */
public class NotFoundPreviousCourseDialogBuilder extends AlertDialog.Builder {

    public NotFoundPreviousCourseDialogBuilder(Context context) {
        super(context);

        onCreateContent(context);
    }

    private void onCreateContent(Context ctx) {
        setTitle("Brak kursu");
        setMessage("W historii nie odnaleziono kursu na ubiegły rok.");
        setNeutralButton(R.string.btn_name_ok, null);
    }

}